﻿using System;
using System.Collections.Generic;

namespace CodeCamp.Models.Shared
{
  public class SharedViewModel
  {
      public const string lineBreak = @"<br />
";

      public bool AgendaIsPublic { get; set; }
      public string DefaultEmailFromAddress { get; set; }
      public string DefaultEventShortName { get; set; }
      public string DefaultEventDisplayName { get; set; }
      public string DefaultPresenterReplyEmailAddress { get; set; }
      public string EventShortName { get; set; }
      public string EventDisplayName { get; set; }
      public DateTime EventStartDate { get; set; }
      public string RegistrationUrl { get; set; }
      public string SchedulePdfUrl { get; set; }
      public bool EventIsPublic { get; set; }
      public bool PresentersArePublic { get; set; }
      public bool ScheduleIsPublic { get; set; }
      public bool ScheduleInsider { get; set; }
      public bool ScheduleVisibleForPresenter { get; set; }
      public bool ShowAboutDirections { get; set; }
      public bool SubmissionsOpen { get; set; }
      public DateTime SubmissionsOpenDate { get; set; }
      public DateTime SubmissionsCloseDate { get; set; }
      public bool PresenterLoginCreationAllowed { get; set; }
      public bool PresenterProfileCreationAllowed { get; set; }
      /// <summary>
      /// User is in role Presenter for event being viewed
      /// </summary>
      public bool UserIsEventPresenter { get; set; }
      public string FirstNamePlusLastInitial { get; set; }
      public Nullable<int> SiteUserId { get; set; }

      public bool AuthUsesWIF
      {
          get
          {
#if USE_WIF
              return true;
#else
              return false;
#endif
          }
      }

  }
}